Signal, Audio and Image Processing by Hidaia Alassouli

Signal, Audio and Image Processing by Hidaia Alassouli

Author:Hidaia Alassouli [Alassouli, Hidaia]
Language: eng
Format: epub
ISBN: 9781387887774
Publisher: Lulu.com
Published: 2018-06-20T23:00:00+00:00


Fig. 4. The fast fourier transform of signal yn consisting of sinusoid signal of frequency 200 Hz with added normally distributed white noise to the signal

3.1.3 Step 3: Designing different types of filters

Different types of filters were designed and applied to filter the yt.

a) FIR low pass filter with cut off frequency = 500 Hz

First, FIR low pass filter with cut off frequency = 500 Hz is designed with the following commands and applied to signal yt, and the results are shown in Fig. 5. Then the filter is applied to the signal yn, and the results are shown in Fig. 6. Fig. 7 shows the frequency characteristics of the designed FIR filter

b = fir1(12,500/fs2)

a = 1

ytfir = filter(b,a,yt);

figure (5) ;

plot(t,ytfir);

ylabel('yt filtered with low pass FIR filter');

xlabel('t,sec');

figure(6);

ynfir = filter(b,a,yn);

plot(t,ynfir);

ylabel('yn filtered with low pass FIR filter');

xlabel('t,sec');

figure(7);

freqz(b,a,256,fs)



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.